package com.ruicar.afs.cloud.channel.grade.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @version 1.0
 * @description: 【渠道归属+业务类型】对应的评分模型配置表
 * @projectName：afs-backend
 * @className：GradeModelConf
 * @see: com.ruicar.afs.cloud.channel.grade.entity
 * @author： jiangxiongfei
 * @createTime：2020-08-14 22:54
 */
@Data
@Accessors(chain = true)
@TableName("grade_model_conf")
public class GradeModelConf extends Model<GradeModelConf> {
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty(value = "渠道归属")
    private String channelBelong;
    @ApiModelProperty(value = "业务类型，新车二手车")
    private String businessType;
    @ApiModelProperty(value = "评分模型代码")
    private String modelCode;
    @ApiModelProperty(value = "时间维度（m-月，h-半年，q-季，y-年）")
    private String timeDimension;
    @ApiModelProperty(value = "描述说明")
    private String descr;
}
